package com.sxds.wn.service;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

/**
 * Description: <p>业务处理层请求对象</p>
 * Content Desc:<p>封装请求信息<p>
 * Copy Right of Personal Tangtao 2007-2020
 * @author Andy
 * @version 1.0
 */
public class Request {
	
	//HTTP 请求对象
	private HttpServletRequest httpRequest;
	//存储提交的参数
	private Map requestAttributes;
	//业务处理方法请求
	private String processServiceMethod;

	public Request(HttpServletRequest httpRequest){
		this.httpRequest = httpRequest;
		this.requestAttributes = new HashMap();
	}
	
	/**
	 * @return the httpRequest
	 */
	public HttpServletRequest getHttpRequest() {
		return httpRequest;
	}

	/**
	 * @param httpRequest the httpRequest to set
	 */
	public void setHttpRequest(HttpServletRequest httpRequest) {
		this.httpRequest = httpRequest;
	}

	/**
	 * @return the processServiceMethod
	 */
	public String getProcessServiceMethod() {
		return processServiceMethod;
	}

	/**
	 * @param processServiceMethod the processServiceMethod to set
	 */
	public void setProcessServiceMethod(String processServiceMethod) {
		this.processServiceMethod = processServiceMethod;
	}

	/**
	 * @return the requestAttributes
	 */
	public Map getRequestAttributes() {
		return requestAttributes;
	}

	/**
	 * @param requestAttributes the requestAttributes to set
	 */
	public void setRequestAttributes(Map requestAttributes) {
		this.requestAttributes = requestAttributes;
	}
	
}
